package cn.koala.key.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

@ApiModel(value="借用单归还信息")
public class BorrowOrderReturn {
    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    private Long id;

    /**
     * 借用单号
     */
    @ApiModelProperty("借用单号")
    @NotNull(message="order_no参数不能为空")
    @Size(max=18,min=0,message="order_no长度超过")
    private String orderNo;

    /**
     * 归还人名称（企业名称）
     */
    @ApiModelProperty("归还人名称（企业名称）")
    @NotNull(message="return_name参数不能为空")
    @Size(max=30,min=0,message="return_name长度超过")
    private String returnName;

    /**
     * 归还方式 1-邮递、2-自取
     */
    @ApiModelProperty("归还方式 1-邮递、2-自取")
    @NotNull(message="return_type参数不能为空")
    private Integer returnType;

    /**
     * 快递单号
     */
    @ApiModelProperty("快递单号")
    @NotNull(message="express_no参数不能为空")
    @Size(max=20,min=0,message="express_no长度超过")
    private String expressNo;

    /**
     * 主动创建时间
     */
    @ApiModelProperty("主动创建时间")
    private Date gmtCreate;

    /**
     * 被动更新时间
     */
    @ApiModelProperty("被动更新时间")
    private Date gmtModified;

    @ApiModelProperty("证件号")
    private String idNumber;

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getReturnName() {
        return returnName;
    }

    public void setReturnName(String returnName) {
        this.returnName = returnName;
    }

    public Integer getReturnType() {
        return returnType;
    }

    public void setReturnType(Integer returnType) {
        this.returnType = returnType;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}